<div style="width:200px">
	{if $hot_newss && $title_news}
	<div id="home_hot_news_left">
    	<div id="home_hot_news_right">
			<div id="home_hot_news">
            	{$title_news}
            </div>
        </div>
    </div> 
    <div id="home_hot_news_bound">
        <div id="home_hot_news_content">
            {foreach from=$hot_newss item=item name=hot_news}
                <a href="{$item.url}" {if !$smarty.foreach.hot_news.first}style="border-top:1px solid #E5E9F1"{/if}>{$item.title}</a>
            {/foreach}
        </div>
    </div>
    <div id="home_hot_news_bottom"></div>
    {/if}

    {if $is_admin}
        {$begin_form}
  			<div style="cursor:pointer;margin:10px 0" onclick="jQuery('#admin_hot_news').toggle();"><strong>Quản lý tin HOT</strong></div>
            <div style=";margin:10px 0" id="admin_hot_news" class="hide">
                        {$msg}<br />
                <table cellpadding="5" cellspacing="0" border="0" width="100%">
                   <tr>
                     <td width="23%" align="right"><strong>Tiêu đề:</strong></td>
                     <td width="77%"><input type="text" name="title_news" value="{$title_news}"/></td>
                  </tr>
                   <tr>
                     <td align="right"><strong>ID tin:</strong></td>
                     <td><input name="news_ids" type="text" id="news_ids" value="{$news_ids}"/> <strong> (cách nhau bởi dấu (,) VD: 1,2,34)</strong></td>
                   </tr>
                </table>   
                        <input type="submit" name="submit" value="Cập nhật"/>
                         
  </div>
        {$end_form}
    {/if}
</div>